package com.citybox.shared.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@ConfigurationProperties(prefix = "aliyun")
@EnableConfigurationProperties
@Configuration
public class ALiYunConfig {

    //@Value("${aliyun.access-key-id}")
    private String accessKeyId;

    //@Value("${aliyun.access-key-secret}")
    private String accessKeySecret;

    //@Value("${aliyun.endpoint}")
    private String endpoint;

    //@Value("${aliyun.region-id}")
    private String regionId;

    //@Value("${aliyun.auth-code}")
    private String authCode;

    //@Value("${aliyun.type}")
    private String type;

}
